package com.jiuyue.movehouse.mapper;

import com.jiuyue.movehouse.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yourFather
 * @since 2022-02-11
 */
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user where id =#{userId}")
    User getByUserId(Long userId);
}
